package uk.ac.ebi.bioinvindex.dao;

import uk.ac.ebi.bioinvindex.model.impl.IdentifiableImpl;

import java.util.List;

/**
 * User: Nataliya Sklyar (nsklyar@ebi.ac.uk)
 * Date: Sep 4, 2007
 */
public interface IdentifiableDAO<DomainObject extends IdentifiableImpl> {

	public DomainObject getById(Long id);

	public List<DomainObject> getAll();

	public Long save(DomainObject object);

	public int deleteById(Long id);

}
